package com.example.aidocengine.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("device_template_import")
public class DeviceTemplateImport {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String importFileName;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime importTime;
    
    private Integer importStatus;
    
    private Integer successCount;
    
    private Integer failCount;
    
    private String errorMessage;
    
    private String operator;
}